from scipy import signal as sig

freq = 1
wn = 2 * freq / 1000
b, a = sig.butter(3, wn, 'highpass')  # 配置滤波器 3 表示滤波器的阶数
pass
